Page({
  data: {

  },
  onShow: function () {
  
  },
  bindgetuserinfo(e) {
    console.log(e);
    var status = e.detail.errMsg;
    if (status == 'getUserInfo:fail auth deny') {
      console.log('授权失败')
    } else {
      wx.redirectTo({
        url: '../index/index'
      })
    }
  },

})